package com.niubility.server;



import com.niubility.entity.Department;

import java.util.List;

public interface IDepartmentService {
    public Department loadDepById(int depId);
    public Department loadDepByAcount(String depAcount);
    public boolean addDep(Department department);
    public boolean update(Department department);
    public boolean delDepById(int depId);
    public boolean changeDepNum(int depId,int changeValue);
    public int lastInsertId(int colId,String depName);
    public List<Department> loadAllInCol(int colId,int index,int elemCount);

}
